package com.qidian.k12.vo;

import java.util.Date;

public class StudentQueryVo {
    private int page = 1;
    private int row = 10;
    private String studentName;
    private int studentGender;
    private Date timeStart;
    private Date timeEnd;
    private int studentStatus;
    private int start=0;
    private void cstart(){
        start = (page-1) * row;
    }

    @Override
    public String toString() {
        return "StudentQueryVo{" +
                "page=" + page +
                ", row=" + row +
                ", studentName='" + studentName + '\'' +
                ", studnetGender=" + studentGender +
                ", timeStart=" + timeStart +
                ", timeEnd=" + timeEnd +
                ", studentStatus=" + studentStatus +
                ", start=" + start +
                '}';
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
        cstart();
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
        cstart();
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getStudentGender() {
        return studentGender;
    }

    public void setStudentGender(int studentGender) {
        this.studentGender = studentGender;
    }

    public Date getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(Date timeStart) {
        this.timeStart = timeStart;
    }

    public Date getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(Date timeEnd) {
        this.timeEnd = timeEnd;
    }

    public int getStudentStatus() {
        return studentStatus;
    }

    public void setStudentStatus(int studentStatus) {
        this.studentStatus = studentStatus;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }
}
